/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package MyThread;

import Game.MyGame;

/**
 *
 * @author VO CHI DUNG
 */
public class ThreadprocessGame implements Runnable {
    MyGame target;
    Thread t;
    public ThreadprocessGame(MyGame targ) {
        super();
        target = targ;
        t = new Thread(this);
        t.start();
    }

    public void run() {
        target.startGame();
    }
}
